Destroy domain before cleaning it up.
authorcl349@firebug.cl.cam.ac.uk <cl349@firebug.cl.cam.ac.uk>
Tue, 6 Sep 2005 18:14:31 +0000 (18:14 +0000)
committercl349@firebug.cl.cam.ac.uk <cl349@firebug.cl.cam.ac.uk>
Tue, 6 Sep 2005 18:14:31 +0000 (18:14 +0000)
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
tools/python/xen/xend/XendDomainInfo.py

index 3fab767f6b21211151e244b0e8b933be805da718..8c682334eda5b9b28581adef608b4374836281d6 100644 (file)
@@ -796,8 +796,8 @@ class XendDomainInfo:
     def destroy(self):
         """Clenup vm and destroy domain.
         """
-        self.cleanup()
         self.destroy_domain()
+        self.cleanup()
         self.saveToDB()
         return 0